package soso.Dao;

import soso.Inter.TaoCan;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;

/**
 * @author ：lzc
 * @date ：Created in 2021/8/20 0020 14:16
 * @description：
 */

public class PhoneCard implements Serializable {
    final static long serialVersionUId = -1312334534523L;
    TaoCan taocan;      //套餐
    String phonenum;    //手机号
    ArrayList<String> messagesnum;  //信箱
    int calltime;    //电话时间
    float flow;       //流量
    float money;      //余额
    Calendar creatime;  //创建时间
    Calendar coutime;  //每月扣费时间
    float Monthlyfee; //月消费
    boolean bo = false;//拨打状态,默认是false,没有电话
    String callid;      //
    float Recharge;     //月充值

    public String getCallid() {
        return callid;
    }

    public void setCallid(String callid) {
        this.callid = callid;
    }

    public boolean getBo() {
        return bo;
    }

    public void setBo(boolean bo) {
        this.bo = bo;
    }

    public float getRecharge() {
        return Recharge;
    }

    public void setRecharge(float recharge) {
        Recharge = recharge;
    }

    public float getMonthlyfee() {
        return Monthlyfee;
    }

    public void setMonthlyfee(float monthlyfee) {
        Monthlyfee = monthlyfee;
    }

    public Calendar getCreatime() {
        return creatime;
    }

    public void setCreatime(Calendar creatime) {
        this.creatime = creatime;
    }

    public Calendar getCoutime() {
        return coutime;
    }

    public void setCoutime(Calendar coutime) {
        this.coutime = coutime;
    }

    @Override
    public String toString() {
        return "卡号为:" + phonenum + " 套餐为: " + taocan.toString() + " " + "余额:" + money;
    }

    public TaoCan getTaocan() {
        return taocan;
    }

    public void setTaocan(TaoCan taocan) {
        this.taocan = taocan;
    }


    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public ArrayList<String> getMessagesnum() {
        return messagesnum;
    }

    public void setMessagesnum(ArrayList<String> messagesnum) {
        this.messagesnum = messagesnum;
    }


    public int getCalltime() {
        return calltime;
    }

    public void setCalltime(int calltime) {
        this.calltime = calltime;
    }

    public float getFlow() {
        return flow;
    }

    public void setFlow(float flow) {
        this.flow = flow;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }


}
